adjust status bar.
authorTrillGates <williamtrillgates@gmail.com>
Thu, 24 Jun 2021 01:53:25 +0000 (09:53 +0800)
committerTrillGates <williamtrillgates@gmail.com>
Thu, 24 Jun 2021 01:53:25 +0000 (09:53 +0800)
app/src/main/res/layout/item_status_bar.xml

index caae608..df468ce 100644 (file)
         android:id="@+id/right_battery_view"
         android:layout_width="wrap_content"
         android:layout_height="match_parent"
-        android:layout_alignParentRight="true" />
+        android:layout_alignParentRight="true"
+        android:layout_centerVertical="true" />
 
 
     <TextView
         android:id="@+id/battery_value"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
+        android:layout_centerVertical="true"
         android:layout_marginRight="5dp"
         android:layout_toLeftOf="@id/right_battery_view"
         android:text="100%"