tor-browser

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

fragment_call.xml (2928B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 
      3 <RelativeLayout
      4    xmlns:android="http://schemas.android.com/apk/res/android"
      5    android:layout_width="match_parent"
      6    android:layout_height="match_parent">
      7 
      8    <TextView
      9        android:id="@+id/contact_name_call"
     10        android:layout_width="wrap_content"
     11        android:layout_height="wrap_content"
     12        android:layout_centerHorizontal="true"
     13        android:layout_above="@+id/buttons_call_container"
     14        android:textSize="24sp"
     15        android:layout_margin="8dp"/>
     16 
     17    <LinearLayout
     18           android:id="@+id/buttons_call_container"
     19           android:orientation="horizontal"
     20           android:layout_above="@+id/capture_format_text_call"
     21           android:layout_alignWithParentIfMissing="true"
     22           android:layout_marginBottom="32dp"
     23           android:layout_centerHorizontal="true"
     24           android:layout_width="wrap_content"
     25           android:layout_height="wrap_content">
     26 
     27       <ImageButton
     28           android:id="@+id/button_call_disconnect"
     29           android:background="@drawable/disconnect"
     30           android:contentDescription="@string/disconnect_call"
     31           android:layout_marginEnd="16dp"
     32           android:layout_width="48dp"
     33           android:layout_height="48dp"/>
     34 
     35       <ImageButton
     36           android:id="@+id/button_call_switch_camera"
     37           android:background="@android:drawable/ic_menu_camera"
     38           android:contentDescription="@string/switch_camera"
     39           android:layout_marginEnd="8dp"
     40           android:layout_width="48dp"
     41           android:layout_height="48dp"/>
     42 
     43        <ImageButton
     44           android:id="@+id/button_call_scaling_mode"
     45           android:background="@drawable/ic_action_return_from_full_screen"
     46           android:contentDescription="@string/disconnect_call"
     47           android:layout_width="48dp"
     48           android:layout_height="48dp"/>
     49 
     50       <ImageButton
     51           android:id="@+id/button_call_toggle_mic"
     52           android:background="@android:drawable/ic_btn_speak_now"
     53           android:contentDescription="@string/toggle_mic"
     54           android:layout_marginEnd="8dp"
     55           android:layout_width="48dp"
     56           android:layout_height="48dp"/>
     57    </LinearLayout>
     58 
     59    <TextView
     60        android:id="@+id/capture_format_text_call"
     61        android:layout_width="wrap_content"
     62        android:layout_height="wrap_content"
     63        android:layout_centerHorizontal="true"
     64        android:layout_above="@+id/capture_format_slider_call"
     65        android:textSize="16sp"
     66        android:text="@string/capture_format_change_text"/>
     67 
     68    <SeekBar
     69        android:id="@+id/capture_format_slider_call"
     70        android:layout_width="match_parent"
     71        android:layout_height="wrap_content"
     72        android:layout_centerHorizontal="true"
     73        android:layout_alignParentBottom="true"
     74        android:progress="50"
     75        android:layout_margin="8dp"/>
     76 
     77 </RelativeLayout>