mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-20 00:28:28 +00:00
72 lines
No EOL
2.4 KiB
XML
72 lines
No EOL
2.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<data>
|
|
<import type="android.view.View"/>
|
|
<variable
|
|
name="backClickListener"
|
|
type="android.view.View.OnClickListener"/>
|
|
<variable
|
|
name="viewModel"
|
|
type="org.linphone.activities.main.settings.viewmodels.TunnelSettingsViewModel"/>
|
|
</data>
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/top_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="60dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:background="?attr/lightToolbarBackgroundColor"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/back"
|
|
android:onClick="@{backClickListener}"
|
|
android:contentDescription="@string/content_description_go_back"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:background="?attr/button_background_drawable"
|
|
android:padding="18dp"
|
|
android:src="@drawable/back" />
|
|
|
|
<TextView
|
|
style="@style/accent_colored_title_font"
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.6"
|
|
android:gravity="center"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:padding="15dp"
|
|
android:text="@string/settings_tunnel_title"/>
|
|
|
|
<View
|
|
android:layout_width="0dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_weight="0.2"
|
|
android:visibility="invisible" />
|
|
|
|
</LinearLayout>
|
|
|
|
<ScrollView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_below="@id/top_bar">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
</LinearLayout>
|
|
|
|
</ScrollView>
|
|
|
|
</RelativeLayout>
|
|
|
|
</layout> |