messenger-android

Android graphical user interfaces for GNUnet Messenger
Log | Files | Refs | README | LICENSE

fragment_lobby_create.xml (2755B)


      1 <!--
      2     This file is part of GNUnet.
      3     Copyright (C) 2021–2025 GNUnet e.V.
      4 
      5     GNUnet is free software: you can redistribute it and/or modify it
      6     under the terms of the GNU Affero General Public License as published
      7     by the Free Software Foundation, either version 3 of the License,
      8     or (at your option) any later version.
      9 
     10     GNUnet is distributed in the hope that it will be useful, but
     11     WITHOUT ANY WARRANTY; without even the implied warranty of
     12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
     13     Affero General Public License for more details.
     14 
     15     You should have received a copy of the GNU Affero General Public License
     16     along with this program.  If not, see <http://www.gnu.org/licenses/>.
     17 
     18     SPDX-License-Identifier: AGPL3.0-or-later
     19 
     20     @author t3sserakt
     21 -->
     22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
     23     android:padding="16dp"
     24     android:orientation="vertical"
     25     android:layout_width="match_parent"
     26     android:layout_height="match_parent">
     27 
     28     <TextView
     29         android:id="@+id/lobby_notice"
     30         android:text="@string/lobby_warning"
     31         android:layout_width="match_parent"
     32         android:layout_height="wrap_content"
     33         android:textColor="@android:color/holo_red_dark"
     34         android:textSize="16sp"
     35         android:layout_marginBottom="16dp" /> <!-- Fügt Abstand hinzu -->
     36 
     37     <Spinner
     38         android:id="@+id/lifetime_spinner"
     39         android:layout_width="match_parent"
     40         android:layout_height="48dp"
     41         android:entries="@array/lobby_lifetimes"
     42         android:layout_marginTop="24dp"
     43         android:padding="8dp" />
     44 
     45     <ProgressBar
     46         android:id="@+id/progress_bar"
     47         style="?android:attr/progressBarStyleLarge"
     48         android:layout_width="wrap_content"
     49         android:layout_height="wrap_content"
     50         android:layout_gravity="center"
     51         android:visibility="gone" />
     52 
     53 
     54     <LinearLayout
     55         android:orientation="horizontal"
     56         android:gravity="end"
     57         android:layout_width="match_parent"
     58         android:layout_height="wrap_content"
     59         android:layout_marginTop="32dp">
     60 
     61         <Button
     62             android:id="@+id/btn_cancel"
     63             android:text="Cancel"
     64             android:layout_width="wrap_content"
     65             android:layout_height="wrap_content"
     66             android:layout_marginEnd="16dp"
     67             android:padding="12dp" /> <!-- Padding hinzugefügt -->
     68 
     69         <Button
     70             android:id="@+id/btn_generate"
     71             android:text="Generate"
     72             android:layout_width="wrap_content"
     73             android:layout_height="wrap_content"
     74             android:layout_marginStart="16dp"
     75             android:padding="12dp" />
     76     </LinearLayout>
     77 </LinearLayout>