mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-23 23:39:14 +00:00
Styling improvements
This commit is contained in:
parent
61e932a8bc
commit
6463d6fb9e
4 changed files with 19 additions and 4 deletions
|
@ -25,6 +25,7 @@ public class AddProfileActivity extends AppCompatActivity {
|
||||||
getSupportActionBar().setDisplayShowTitleEnabled(false);
|
getSupportActionBar().setDisplayShowTitleEnabled(false);
|
||||||
|
|
||||||
final KeyProfile keyProfile = (KeyProfile)getIntent().getSerializableExtra("KeyProfile");
|
final KeyProfile keyProfile = (KeyProfile)getIntent().getSerializableExtra("KeyProfile");
|
||||||
|
profileName.setText(keyProfile.Info.getAccountName());
|
||||||
|
|
||||||
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
|
FloatingActionButton fab = (FloatingActionButton) findViewById(R.id.fab);
|
||||||
fab.setOnClickListener(new View.OnClickListener() {
|
fab.setOnClickListener(new View.OnClickListener() {
|
||||||
|
|
9
app/src/main/res/drawable/ic_done_black_24dp.xml
Normal file
9
app/src/main/res/drawable/ic_done_black_24dp.xml
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:width="24dp"
|
||||||
|
android:height="24dp"
|
||||||
|
android:viewportWidth="24.0"
|
||||||
|
android:viewportHeight="24.0">
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M9,16.2L4.8,12l-1.4,1.4L9,19 21,7l-1.4,-1.4L9,16.2z"/>
|
||||||
|
</vector>
|
|
@ -31,6 +31,7 @@
|
||||||
android:layout_weight="0.53"
|
android:layout_weight="0.53"
|
||||||
android:gravity="bottom"
|
android:gravity="bottom"
|
||||||
android:textSize="18sp"
|
android:textSize="18sp"
|
||||||
|
android:textColor="@color/primary_text_inverted"
|
||||||
android:layout_marginLeft="3dp"/>
|
android:layout_marginLeft="3dp"/>
|
||||||
|
|
||||||
<EditText
|
<EditText
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:inputType="textPersonName"
|
android:inputType="textPersonName"
|
||||||
android:ems="10"
|
android:ems="10"
|
||||||
|
android:textColor="@color/primary_text_inverted"
|
||||||
android:paddingTop="0dp"
|
android:paddingTop="0dp"
|
||||||
android:id="@+id/addProfileName"
|
android:id="@+id/addProfileName"
|
||||||
android:textSize="28sp"
|
android:textSize="28sp"
|
||||||
|
@ -63,8 +65,9 @@
|
||||||
android:layout_margin="16dp"
|
android:layout_margin="16dp"
|
||||||
android:clickable="true"
|
android:clickable="true"
|
||||||
app:layout_anchor="@id/viewA"
|
app:layout_anchor="@id/viewA"
|
||||||
app:layout_anchorGravity="bottom|right|end"/>
|
app:layout_anchorGravity="bottom|right|end"
|
||||||
<!--android:src="@drawable/ic_done"-->
|
android:src="@drawable/ic_check"/>
|
||||||
|
<!---->
|
||||||
|
|
||||||
|
|
||||||
</android.support.design.widget.CoordinatorLayout>
|
</android.support.design.widget.CoordinatorLayout>
|
|
@ -4,9 +4,11 @@
|
||||||
<color name="colorPrimaryDark">#0288D1</color>
|
<color name="colorPrimaryDark">#0288D1</color>
|
||||||
<color name="colorHeaderSuccess">#12b600</color>
|
<color name="colorHeaderSuccess">#12b600</color>
|
||||||
<color name="colorPrimaryLight">#B3E5FC</color>
|
<color name="colorPrimaryLight">#B3E5FC</color>
|
||||||
<color name="colorAccent">#49ca8a</color>
|
<color name="colorAccent">#FF5252</color>
|
||||||
<color name="primary_text">#212121</color>
|
<color name="primary_text">#212121</color>
|
||||||
<color name="secondary_text">#49ca8a</color>
|
<color name="secondary_text">#FF5252</color>
|
||||||
|
<color name="primary_text_inverted">#ffffff</color>
|
||||||
|
<color name="secondary_text_inverted">#FF5252</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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue