mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
81 lines
3.5 KiB
XML
81 lines
3.5 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
||
|
<!--
|
||
|
~ /**
|
||
|
~ * Copyright (C) 2014 Whisper Systems
|
||
|
~ *
|
||
|
~ * This program is free software: you can redistribute it and/or modify
|
||
|
~ * it under the terms of the GNU General Public License as published by
|
||
|
~ * the Free Software Foundation, either version 3 of the License, or
|
||
|
~ * (at your option) any later version.
|
||
|
~ *
|
||
|
~ * This program is distributed in the hope that it will be useful,
|
||
|
~ * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
~ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
~ * GNU General Public License for more details.
|
||
|
~ *
|
||
|
~ * You should have received a copy of the GNU General Public License
|
||
|
~ * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||
|
~ */
|
||
|
-->
|
||
|
|
||
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
android:orientation="vertical"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<ScrollView android:id="@+id/log_preview_container"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="0dp"
|
||
|
android:layout_weight="2">
|
||
|
|
||
|
<LinearLayout android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="vertical">
|
||
|
|
||
|
<TextView android:id="@+id/log_submit_confirmation"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:textSize="15sp"
|
||
|
android:text="@string/log_submit_activity__this_log_will_be_posted_online"
|
||
|
android:paddingLeft="15dp"
|
||
|
android:paddingRight="15dp"
|
||
|
android:paddingTop="10dp"
|
||
|
android:paddingBottom="10dp"
|
||
|
android:background="@color/logsubmit_confirmation_background"
|
||
|
android:fontFamily="sans-serif-light"
|
||
|
tools:ignore="UnusedAttribute"/>
|
||
|
|
||
|
<EditText android:id="@+id/log_preview"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
style="?android:attr/textViewStyle"
|
||
|
android:padding="10dp"
|
||
|
android:background="@null"
|
||
|
android:fontFamily="monospace"
|
||
|
android:hint=""
|
||
|
android:scrollHorizontally="true"
|
||
|
android:inputType="textImeMultiLine|textNoSuggestions|textMultiLine"
|
||
|
android:textSize="10sp"
|
||
|
tools:ignore="UnusedAttribute,SmallSp"/>
|
||
|
</LinearLayout>
|
||
|
</ScrollView>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
<Button android:id="@+id/cancel"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/log_submit_activity__button_dont_submit"
|
||
|
android:layout_weight="1"/>
|
||
|
<Button android:id="@+id/ok"
|
||
|
android:layout_width="fill_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:text="@string/log_submit_activity__button_submit"
|
||
|
android:layout_weight="1"/>
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|