layout fixes
This commit is contained in:
parent
b250363f49
commit
1cc89a1cb7
4 changed files with 13 additions and 4 deletions
|
@ -40,7 +40,7 @@ public class DeleteServiceDialogFragment extends DialogFragment{
|
|||
// Pass null as the parent view because its going in the dialog layout
|
||||
builder.setView(inflater.inflate(R.layout.dialog_service_delete, null))
|
||||
// Add action buttons
|
||||
.setPositiveButton(R.string.delete, new DialogInterface.OnClickListener() {
|
||||
.setPositiveButton(R.string.remove, new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
Bundle args = new Bundle();
|
||||
|
|
|
@ -12,6 +12,13 @@
|
|||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
android:background="@drawable/background"
|
||||
tools:context=".LogIn">
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<LinearLayout
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Title"
|
||||
|
@ -66,7 +73,8 @@
|
|||
android:onClick="onClickLogIn"
|
||||
android:text="@string/login"
|
||||
android:theme="@style/AppTheme.Button" />
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="20dp"
|
||||
android:layout_weight="1"
|
||||
android:text="Are you sure you want to delete this service?"
|
||||
android:text="Are you sure you want to remove this service from your account?"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Large"
|
||||
android:textColor="@android:color/black"
|
||||
android:textSize="15sp"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="20dp"
|
||||
android:layout_marginRight="40dp"
|
||||
/>
|
||||
|
||||
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
<string name="cancel">Cancel</string>
|
||||
<string name="update">Update</string>
|
||||
<string name="delete">Delete</string>
|
||||
<string name="remove">Remove</string>
|
||||
<string name="add">Add</string>
|
||||
<string-array name="roles">
|
||||
<item>Admin</item>
|
||||
|
|
Loading…
Reference in a new issue