-
-
Save pacificregmi/a466840cd1ef1c416509 to your computer and use it in GitHub Desktop.
Dashboard UI Design for Android App - layout/dashboard_xml_ui_design.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:background="#ddd"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:orientation="vertical" | |
android:padding="10dp"> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal" | |
android:paddingBottom="10dp"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:background="#fff" | |
android:gravity="center_horizontal" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_marginTop="16dp" | |
android:text="Storage" | |
android:textSize="18sp" | |
android:textStyle="bold" /> | |
<ProgressBar | |
android:id="@+id/progressBar" | |
style="?android:attr/progressBarStyleHorizontal" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="26dp" | |
android:background="@drawable/circle_shape" | |
android:indeterminate="false" | |
android:max="100" | |
android:progress="10" | |
android:progressDrawable="@drawable/circular_progress_bar" /> | |
<TextView | |
android:id="@+id/progress_circle_text" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:background="@android:color/transparent" | |
android:gravity="center" | |
android:text="15%" | |
android:textColor="@color/colorPrimary" | |
android:textSize="30sp" | |
android:textStyle="bold" /> | |
</RelativeLayout> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="10dp" | |
android:layout_weight="1" | |
android:background="#fff" | |
android:gravity="center_horizontal" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_marginTop="16dp" | |
android:text="Battery" | |
android:textSize="18sp" | |
android:textStyle="bold" /> | |
<ProgressBar | |
android:id="@+id/progressBar1" | |
style="?android:attr/progressBarStyleHorizontal" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="26dp" | |
android:background="@drawable/circle_shape" | |
android:indeterminate="false" | |
android:max="100" | |
android:progress="75" | |
android:progressDrawable="@drawable/circular_progress_bar" /> | |
<TextView | |
android:id="@+id/progress_circle_text1" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:background="@android:color/transparent" | |
android:gravity="center" | |
android:text="75%" | |
android:textColor="@color/colorPrimary" | |
android:textSize="30sp" | |
android:textStyle="bold" /> | |
</RelativeLayout> | |
</LinearLayout> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="fill_parent" | |
android:layout_height="wrap_content" | |
android:orientation="horizontal"> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_weight="1" | |
android:background="#fff" | |
android:gravity="center_horizontal" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_marginTop="16dp" | |
android:text="RAM" | |
android:textSize="18sp" | |
android:textStyle="bold" /> | |
<ProgressBar | |
android:id="@+id/progressBar3" | |
style="?android:attr/progressBarStyleHorizontal" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="26dp" | |
android:background="@drawable/circle_shape" | |
android:indeterminate="false" | |
android:max="100" | |
android:progress="60" | |
android:progressDrawable="@drawable/circular_progress_bar" /> | |
<TextView | |
android:id="@+id/progress_circle_text3" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:background="@android:color/transparent" | |
android:gravity="center" | |
android:text="60%" | |
android:textColor="@color/colorPrimary" | |
android:textSize="30sp" | |
android:textStyle="bold" /> | |
</RelativeLayout> | |
</LinearLayout> | |
<LinearLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_marginLeft="10dp" | |
android:layout_weight="1" | |
android:background="#fff" | |
android:gravity="center_horizontal" | |
android:orientation="vertical"> | |
<RelativeLayout | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"> | |
<TextView | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_marginTop="16dp" | |
android:text="Performance" | |
android:textSize="18sp" | |
android:textStyle="bold" /> | |
<ProgressBar | |
android:id="@+id/progressBar4" | |
style="?android:attr/progressBarStyleHorizontal" | |
android:layout_width="200dp" | |
android:layout_height="200dp" | |
android:layout_marginTop="26dp" | |
android:background="@drawable/circle_shape" | |
android:indeterminate="false" | |
android:max="100" | |
android:progress="85" | |
android:progressDrawable="@drawable/circular_progress_bar" /> | |
<TextView | |
android:id="@+id/progress_circle_text4" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerInParent="true" | |
android:background="@android:color/transparent" | |
android:gravity="center" | |
android:text="85%" | |
android:textColor="@color/colorPrimary" | |
android:textSize="30sp" | |
android:textStyle="bold" /> | |
</RelativeLayout> | |
</LinearLayout> | |
</LinearLayout> | |
<TextView | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:layout_marginTop="10dp" | |
android:gravity="center_horizontal" | |
android:text="ViralAndroid.com" | |
android:textSize="22sp" | |
android:textStyle="bold" /> | |
</LinearLayout> | |
</ScrollView> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment