tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

browser_action.xml (1101B)


      1 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      2    android:layout_width="?android:actionBarSize"
      3    android:layout_height="?android:actionBarSize"
      4    android:gravity="center"
      5    android:orientation="vertical">
      6 
      7    <RelativeLayout
      8        android:layout_width="match_parent"
      9        android:layout_height="match_parent"
     10        >
     11        <ImageView
     12            android:id="@+id/browser_action_icon"
     13            android:layout_width="36dp"
     14            android:layout_height="36dp"
     15            android:layout_centerInParent="true"
     16            />
     17    </RelativeLayout>
     18 
     19    <TextView
     20        android:id="@+id/browser_action_badge"
     21        android:layout_width="wrap_content"
     22        android:layout_height="wrap_content"
     23        android:background="@drawable/rounded_bg"
     24        android:textColor="@color/colorPrimaryDark"
     25        android:layout_alignParentRight="true"
     26        android:paddingLeft="3dp"
     27        android:paddingRight="3dp"
     28        android:layout_marginTop="3dp"
     29        android:layout_marginRight="3dp"
     30        android:text="12"
     31        />
     32 </RelativeLayout>