Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.percent.PercentRelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorPrimary"
- tools:context=".MainActivity"
- android:id="@+id/bgl0">
- <android.support.v7.widget.Toolbar
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:id="@+id/my_toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:theme="@style/ThemeOverlay.AppCompat.ActionBar"
- app:popupTheme="@style/ThemeOverlay.AppCompat.Light"/>
- <android.support.percent.PercentRelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context=".MainActivity"
- android:id="@+id/bgl"
- android:layout_marginTop="168px">
- <android.support.percent.PercentRelativeLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- tools:context=".MainActivity"
- android:id="@+id/bg999"
- android:layout_above="@+id/custom_list"
- android:layout_marginTop="168px">
- <Button
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="Start"
- android:id="@+id/button"
- android:layout_alignTop="@+id/buttonP"
- android:layout_centerHorizontal="true"
- app:layout_widthPercent="40%" />
- <!-- android:background="@drawable/border" -->
- <Button
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text="<<"
- android:id="@+id/buttonP"
- android:layout_alignParentLeft="true"
- android:layout_alignLeft="@+id/button"
- app:layout_widthPercent="30%" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:text=">>"
- android:id="@+id/buttonN" app:layout_widthPercent="30%"
- android:layout_alignParentRight="true"
- android:layout_alignRight="@+id/button"/>
- <!--android:layout_above="@+id/custom_list"
- android:layout_alignRight="@+id/custom_list" -->
- </android.support.percent.PercentRelativeLayout>
- <ListView
- android:id="@+id/custom_list"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:dividerHeight="1dp"
- android:layout_weight="0.5" />
- </android.support.percent.PercentRelativeLayout>
- </android.support.percent.PercentRelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement