http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/591da19f/app/src/main/res/layout/fragment_dashboard_main.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/layout/fragment_dashboard_main.xml b/app/src/main/res/layout/fragment_dashboard_main.xml index 4279e24..a7ab6f4 100644 --- a/app/src/main/res/layout/fragment_dashboard_main.xml +++ b/app/src/main/res/layout/fragment_dashboard_main.xml @@ -1,22 +1,24 @@ -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" - tools:context="org.apache.taverna.mobile.activities.DashboardMainActivity$PlaceholderFragment"> + tools:context="org.apache.taverna.mobile.activities.DashboardMainActivity$PlaceholderFragment" + android:orientation="vertical"> - <TextView android:id="@+id/section_label" + + <RadioButton android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_height="wrap_content" + android:text="New RadioButton" + android:id="@+id/radioButton" + android:layout_gravity="center_horizontal" /> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="New Button" android:id="@+id/button" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:layout_alignParentEnd="true" /> - -</RelativeLayout> + android:layout_gravity="center_horizontal" /> +</LinearLayout>
http://git-wip-us.apache.org/repos/asf/incubator-taverna-mobile/blob/591da19f/app/src/main/res/values/strings.xml ---------------------------------------------------------------------- diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 3b7d15b..a75a4e4 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -34,6 +34,7 @@ limitations under the License. <string name="loginbutton">Login</string> <string name="title_activity_dashboard_main">Dashboard</string> + <string name="title_favorite">Favorites</string> <string name="title_explore">Workflows</string> <string name="title_usage">Usage</string> <string name="title_about">About </string>