activity_charging_circle.xml raw

   1  <?xml version="1.0" encoding="utf-8"?>
   2  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
   3      xmlns:tools="http://schemas.android.com/tools"
   4      android:id="@+id/content"
   5      android:layout_width="match_parent"
   6      android:layout_height="match_parent"
   7      tools:context="io.github.domi04151309.alwayson.actions.ChargingCircleActivity">
   8  
   9      <ProgressBar
  10          android:id="@+id/chargingProgress"
  11          android:layout_width="192dp"
  12          android:layout_height="192dp"
  13          android:indeterminate="false"
  14          android:progressDrawable="@drawable/progress_bar_progress"
  15          android:background="@drawable/progress_bar_circle"
  16          style="?android:attr/progressBarStyleHorizontal"
  17          android:max="100"
  18          android:progress="66"
  19          android:layout_centerInParent="true" />
  20  
  21      <TextView
  22          android:id="@+id/batteryTxt"
  23          android:layout_width="96dp"
  24          android:layout_height="96dp"
  25          android:gravity="center"
  26          android:textSize="24sp"
  27          android:layout_centerInParent="true"
  28          android:textIsSelectable="false" />
  29  </RelativeLayout>
  30