mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-21 07:51:46 +02:00
Minor layout improvements to user settings activity
This commit is contained in:
@@ -78,7 +78,7 @@ public class UserSettingsActivity extends BaseAppCompatActivity {
|
|||||||
setSupportActionBar(toolbar);
|
setSupportActionBar(toolbar);
|
||||||
|
|
||||||
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
||||||
getSupportActionBar().setTitle(getResources().getString(R.string.label_title_user));
|
getSupportActionBar().setTitle(R.string.label_add_user);
|
||||||
|
|
||||||
txtUserName = (EditText) findViewById(R.id.txtUserName);
|
txtUserName = (EditText) findViewById(R.id.txtUserName);
|
||||||
txtBodyHeight = (EditText) findViewById(R.id.txtBodyHeight);
|
txtBodyHeight = (EditText) findViewById(R.id.txtBodyHeight);
|
||||||
|
@@ -86,6 +86,7 @@
|
|||||||
android:id="@+id/lblGender"
|
android:id="@+id/lblGender"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:text="@string/label_gender" />
|
android:text="@string/label_gender" />
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
@@ -121,6 +122,7 @@
|
|||||||
android:id="@+id/lblUnit"
|
android:id="@+id/lblUnit"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="center_vertical"
|
||||||
android:text="@string/label_scale_unit" />
|
android:text="@string/label_scale_unit" />
|
||||||
|
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
|
Reference in New Issue
Block a user