<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
+ android:layout_marginEnd="5dp"
android:text="@string/imc_state_label"
android:textColor="?android:textColorPrimary"
android:textSize="20sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:text="@string/show_remediation_instructions"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/state_background"
- android:drawableStart="@android:drawable/ic_dialog_alert"
+ app:drawableStartCompat="@android:drawable/ic_dialog_alert"
android:drawablePadding="8dp"
android:padding="8dp"
android:text="@string/alert_text_vpn_profile_read_only"
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:text="@string/profile_vpn_type_label"
android:textSize="12sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:layout_marginTop="4dp"
android:text="@string/profile_user_certificate_label"
android:textSize="12sp" />
android:id="@+id/install_user_certificate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp"
android:text="@string/profile_user_certificate_install" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:text="@string/profile_ca_label"
android:textSize="12sp" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:layout_marginTop="10dp"
android:text="@string/profile_advanced_label"
android:textSize="20sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_cert_req_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_cert_req_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_use_ocsp_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_use_ocsp_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_use_crl_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_use_crl_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_strict_revocation_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_strict_revocation_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_rsa_pss_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_rsa_pss_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:text="@string/profile_ipv6_transport_label" />
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_ipv6_transport_hint"
android:textSize="12sp" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_split_tunneling_label"
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_split_tunneling_intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginTop="20dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_select_apps_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_proposals_label"
android:id="@+id/proposal_intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_proposals_intro"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/profile_profile_id"
android:id="@+id/profile_id"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:textIsSelectable="true"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
- android:drawableLeft="@android:drawable/ic_dialog_alert"
- android:drawableStart="@android:drawable/ic_dialog_alert"
+ app:drawableStartCompat="@android:drawable/ic_dialog_alert"
android:drawablePadding="8dp"
android:textStyle="bold"
android:text="@string/profile_import_exists"
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textSize="12sp"
android:text="@string/profile_name_label_simple" />
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textSize="12sp"
android:text="@string/profile_gateway_label" />
android:id="@+id/gateway"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="6dp"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textSize="12sp"
android:text="@string/profile_vpn_type_label" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="4dp"
- android:layout_marginLeft="4dp"
android:layout_marginStart="4dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textColor="?android:attr/textColorPrimary" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="4dp"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:textSize="12sp"
android:text="@string/profile_user_certificate_label" />
android:id="@+id/import_user_certificate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
+ android:layout_marginStart="4dp"
+ android:layout_marginEnd="4dp"
android:text="@string/profile_cert_import" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dp"
+ android:layout_marginStart="4dp"
android:textSize="12sp"
android:text="@string/profile_ca_label" />
android:layout_height="match_parent"
android:paddingBottom="10dp"
android:paddingTop="10dp"
- android:paddingLeft="5dp"
- android:paddingRight="5dp" >
+ android:paddingStart="5dp"
+ android:paddingEnd="5dp" >
<ListView
android:id="@+id/profile_list"
<TextView android:id="@+id/profile_list_empty"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginLeft="15dp"
+ android:layout_marginStart="15dp"
android:text="@string/no_profiles"/>
</FrameLayout>
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
+ android:layout_marginStart="10dp"
android:textIsSelectable="true"
android:textAppearance="?android:attr/textAppearanceLarge" />
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
+ android:layout_marginStart="10dp"
android:textIsSelectable="true"
android:textColor="?android:textColorSecondary"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:id="@+id/list_header"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="10dp"
+ android:layout_marginStart="10dp"
android:layout_marginTop="20dp"
android:textIsSelectable="true"
android:textAppearance="?android:attr/textAppearanceMedium" />
android:id="@android:id/text1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
+ android:layout_marginStart="15dp"
+ android:layout_marginEnd="15dp"
android:textAppearance="?android:attr/textAppearanceMedium"
android:textIsSelectable="false" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1"
- android:layout_alignRight="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
+ android:layout_alignEnd="@android:id/text1"
android:textColor="?android:textColorSecondary"
android:textAppearance="?android:attr/textAppearanceSmall"
android:singleLine="true"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingLeft="8dp"
- android:paddingRight="8dp"
+ android:paddingStart="8dp"
+ android:paddingEnd="8dp"
android:minHeight="?android:listPreferredItemHeight"
android:background="@drawable/activated_background"
android:gravity="center_vertical" >
android:duplicateParentState="true"
android:layout_width="@android:dimen/app_icon_size"
android:layout_height="@android:dimen/app_icon_size"
- android:layout_marginRight="8dip"
android:layout_marginEnd="8dip"
android:scaleType="centerInside" />
android:duplicateParentState="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
android:layout_marginStart="16dp" />
</org.strongswan.android.ui.widget.CheckableLinearLayout>
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/subject_primary"
- android:layout_alignLeft="@id/subject_primary"
+ android:layout_alignStart="@id/subject_primary"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@android:id/text1"
- android:layout_alignLeft="@android:id/text1"
+ android:layout_alignStart="@android:id/text1"
android:textAppearance="?android:attr/textAppearanceSmall"
android:textColor="?android:attr/textColorSecondary" />
android:id="@+id/vpn_error_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="12dp"
android:text="Failed to establish VPN: Server is unreachable"
android:id="@+id/show_log"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="8dp"
+ android:layout_marginStart="8dp"
android:text="@string/show_log"
android:textColor="@color/primary"
android:textSize="14sp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:layout_marginTop="10dp"
android:columnCount="2"
android:rowCount="2" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
+ android:layout_marginEnd="5dp"
android:gravity="top"
android:text="@string/state_label"
android:textColor="?android:textColorPrimary"
android:id="@+id/vpn_profile_label"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginRight="5dp"
+ android:layout_marginEnd="5dp"
android:gravity="top"
android:text="@string/profile_label"
android:textColor="?android:textColorPrimary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:indeterminate="true"
android:visibility="gone"
style="@style/Widget.AppCompat.ProgressBar.Horizontal" />
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
- android:layout_marginLeft="20dp"
- android:layout_marginRight="20dp"
+ android:layout_marginStart="20dp"
+ android:layout_marginEnd="20dp"
android:text="@string/disconnect"
style="?android:attr/borderlessButtonStyle" >
</Button>