Various fixes

This commit is contained in:
Michael Schättgen 2016-09-29 11:18:33 +02:00
parent 5eb2af0512
commit ed829d004b
4 changed files with 6 additions and 6 deletions

View file

@ -92,7 +92,7 @@ public class KeyProfileAdapter extends RecyclerView.Adapter<KeyProfileAdapter.Ke
// generate color based on a key (same key returns the same color), useful for list/grid views // generate color based on a key (same key returns the same color), useful for list/grid views
int profileKeyColor = generator.getColor(profile.Name); int profileKeyColor = generator.getColor(profile.Name);
TextDrawable newDrawable = TextDrawable.builder().buildRound(profile.Name.substring(0, 1), profileKeyColor); TextDrawable newDrawable = TextDrawable.builder().buildRound(profile.Name.substring(0, 1).toUpperCase(), profileKeyColor);
return newDrawable; return newDrawable;
} }
} }

View file

@ -31,8 +31,8 @@
android:id="@+id/textView" android:id="@+id/textView"
android:layout_weight="0.53" android:layout_weight="0.53"
android:gravity="bottom" android:gravity="bottom"
android:textSize="18sp" android:textSize="16sp"
android:textColor="@color/primary_text_inverted" android:textColor="@color/secondary_text_inverted"
android:layout_marginLeft="3dp"/> android:layout_marginLeft="3dp"/>
<EditText <EditText
@ -44,7 +44,7 @@
android:paddingTop="0dp" android:paddingTop="0dp"
android:id="@+id/addProfileName" android:id="@+id/addProfileName"
android:textSize="28sp" android:textSize="28sp"
/> android:paddingRight="0dp" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -8,7 +8,7 @@
<color name="primary_text">#212121</color> <color name="primary_text">#212121</color>
<color name="secondary_text">#434343</color> <color name="secondary_text">#434343</color>
<color name="primary_text_inverted">#ffffff</color> <color name="primary_text_inverted">#ffffff</color>
<color name="secondary_text_inverted">#FF5252</color> <color name="secondary_text_inverted">#efefef</color>
<color name="icons">#FFFFFF</color> <color name="icons">#FFFFFF</color>
<color name="divider">#BDBDBD</color> <color name="divider">#BDBDBD</color>
<color name="background">#ffffff</color> <color name="background">#ffffff</color>

View file

@ -5,7 +5,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:2.2.0-beta1' classpath 'com.android.tools.build:gradle:2.2.0'
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files // in the individual module build.gradle files