Ich bin auf der Suche nach einem Layout wie oben erstellt mit linearen/relativen Layouts mit Textfeld. Jede Hilfe wird geschätzt.Android Layout für Kalender-Steuerelement
-1
A
Antwort
0
In der Wurzel Layout Hintergrund Stil für abgerundete Ecke und getan
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#999999"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="2dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="#FFFFFF"
android:text="25"
android:padding="5dp"
android:textColor="#000000"
android:textSize="60sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="Sept \n2016"
android:padding="5dp"
android:textSize="25sp" />
</LinearLayout>
</LinearLayout>
0
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#999999"
android:layout_margin="20dp"
android:orientation="vertical"
>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<View
android:layout_width="5dp"
android:layout_height="match_parent"
android:orientation="vertical"
android:background="#999999"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="#FFFFFF"
android:padding="10dp"
android:text="25"
android:textColor="#000000"
android:textSize="60sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:text="Sept \n2016"
android:textColor="@android:color/white"
android:padding="10dp"
android:textStyle="bold"
android:textSize="35sp" />
</LinearLayout>
</LinearLayout>
Verwandte Themen
- 1. Sprache spezifisches Layout für Android
- 2. Android-Layout für definieren Bildschirm
- 3. Android benutzerdefinierte Layout für AutoCompleteTextView
- 4. Android Layoutanzeige, Layout über Layout.
- 5. Android: Layout-Problem für HTC EVO 3d
- 6. benötigen Erklärung für android Layout Syntax
- 7. Android-Layout-Platzhalter für dynamisch hinzugefügte Ansicht
- 8. Android Instrumentation-Test für mehr Bildschirmgrößen/Layout
- 9. Anderes Layout für Orientierung und Bildschirmgröße - Android
- 10. Entwerfen Sie ein besseres Layout für Android?
- 11. Geordnetes lineares Android-Layout für benutzerdefiniertes Design
- 12. Wie Layout-Bildschirme für alle Android-Gerätegrößen
- 13. Wie Prozent für Android-Layout zu verwenden?
- 14. Layout-Problem mit Android
- 15. Android-Layout und Zeichnungsordner
- 16. Android Grid Menü Layout
- 17. Layout android Fragmente programmatisch
- 18. Android - Nur vertikales Layout
- 19. Layout-Stile in Android
- 20. Android benutzerdefinierte Layout
- 21. Android ScrollView Layout Problem
- 22. Android Layout configChanges
- 23. Android Landschaft Layout
- 24. Android Layout XML-Code
- 25. Android Textview Layout Problem
- 26. Android- Hinzufügen von Ansicht zu Layout Layout Layout vor ActionBar
- 27. Struggling mit Android-Layout
- 28. Android-Layout wiederholendes Muster
- 29. Android - Koordinator-Layout, Schubladen-Layout und Fragmente
- 30. Android Tabbed Layout setContent