diff options
author | zeapo <mohamed@zenadi.com> | 2014-10-19 18:55:52 +0200 |
---|---|---|
committer | zeapo <mohamed@zenadi.com> | 2014-10-19 18:55:52 +0200 |
commit | 01a1522194d4b6803d88e9ac1c50e5cddd70fa05 (patch) | |
tree | 2184be59f6bbfaf54083d5fefe771b193da7a0a5 /app/src/main/res/layout | |
parent | 639031737f6cbfd2c9cf3bcede8d1c85e9ddac67 (diff) |
Improved layout of clone and made it similar to the rest of the application
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_git_clone.xml | 11 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_to_clone_or_not.xml | 7 |
2 files changed, 14 insertions, 4 deletions
diff --git a/app/src/main/res/layout/activity_git_clone.xml b/app/src/main/res/layout/activity_git_clone.xml index f1adcd6d..f26d6f8d 100644 --- a/app/src/main/res/layout/activity_git_clone.xml +++ b/app/src/main/res/layout/activity_git_clone.xml @@ -21,7 +21,7 @@ style="@android:style/TextAppearance.Large" android:gravity="left" android:paddingBottom="6dp" - android:textColor="@android:color/holo_orange_dark" + android:textColor="@color/blue_grey_700" android:background="@drawable/bottom_line"/> <RelativeLayout @@ -61,6 +61,7 @@ android:id="@+id/label_server_user" android:layout_centerVertical="true" android:layout_alignParentLeft="true" + android:paddingBottom="8dp" android:layout_alignParentStart="true" /> <EditText @@ -68,6 +69,7 @@ android:layout_height="wrap_content" android:hint="@string/server_user_hint" android:id="@+id/server_user" + android:layout_marginLeft="8dp" android:layout_toEndOf="@+id/label_server_user" android:layout_toRightOf="@+id/label_server_user" android:layout_alignParentRight="true" @@ -83,6 +85,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/server_url" + android:paddingBottom="8dp" android:id="@+id/label_server_url" android:layout_centerVertical="true" android:layout_alignParentLeft="true" @@ -93,6 +96,7 @@ android:layout_height="wrap_content" android:hint="@string/server_url_hint" android:id="@+id/server_url" + android:layout_marginLeft="8dp" android:layout_toEndOf="@+id/label_server_url" android:layout_toRightOf="@+id/label_server_url" android:layout_toLeftOf="@+id/label_server_port" @@ -102,6 +106,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text=":" + android:paddingBottom="8dp" android:id="@+id/label_server_port" android:layout_centerVertical="true" android:layout_toLeftOf="@+id/server_port" @@ -125,6 +130,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/server_path" + android:paddingBottom="8dp" android:id="@+id/label_server_path" android:layout_centerVertical="true" android:layout_alignParentLeft="true" @@ -134,6 +140,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/server_path_hint" + android:layout_marginLeft="8dp" android:id="@+id/server_path" android:layout_toEndOf="@+id/label_server_path" android:layout_toRightOf="@+id/label_server_path" @@ -150,7 +157,7 @@ style="@android:style/TextAppearance.Large" android:gravity="left" android:paddingBottom="6dp" - android:textColor="@android:color/holo_orange_dark" + android:textColor="@color/blue_grey_700" android:background="@drawable/bottom_line"/> <EditText diff --git a/app/src/main/res/layout/fragment_to_clone_or_not.xml b/app/src/main/res/layout/fragment_to_clone_or_not.xml index e5c4172f..3aed7df4 100644 --- a/app/src/main/res/layout/fragment_to_clone_or_not.xml +++ b/app/src/main/res/layout/fragment_to_clone_or_not.xml @@ -2,7 +2,8 @@ xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#eee" + android:layout_marginLeft="@dimen/activity_horizontal_margin" + android:layout_marginRight="@dimen/activity_horizontal_margin" tools:context="com.zeapo.pwdstore.ToCloneOrNot"> <RelativeLayout @@ -25,6 +26,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" + android:textStyle="bold" android:onClick="initRepository" android:text="@string/initialize" android:id="@+id/button" @@ -36,7 +38,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@android:color/transparent" - android:textColor="@android:color/holo_orange_dark" + android:textColor="@color/deep_orange_500" + android:textStyle="bold" android:onClick="getClone" android:text="@string/clone" android:layout_below="@+id/textView" |