Ausklappbares Verlängertes XML Layout

wer112

Top Contributor
Ich versuche grade die XML Datei für die beiden Entwickler Registrier Seiten für die Entwickler Console zu schreiben.
Man kann per RadioButton auswählen, ob man Privat oder als Unternehmen unterwegs ist. Privat darf nähmlich kein Geld verdienen...

Für ein Unternehmen wird zu den Personalausweis und Perso Video auch Unternehmensdaten gebraucht, wie Umsatzsteuer, Gewerbeschein, Firma Adresse, Firma Kontakt usw. Ich kann dass hinzufügen. Würde es gerne erst Sichtbar machen, wenn man auf Unternehmen drückt.

Wenn ich es nur Unsichtbar mache, existiert einfach ein sehr langes Weißes-Feld, was ich gerne Überspringen möchte.

Ich möchte sowas wie in HTML mit dem :hover block: true machen, wenn man per Radio Button auswählt. Wer sich in CSS auskennt, weiß, wie ich das meine.

Sowas auch wie ein Drop Down Menü...

Ich habe nur grade den Spinner entdeckt, den ich gerne für die Auswahl den Job Bezeichnung machen wollen. Alle Input Typen ect. wäre unpraktisch und ob das geht, weiß ich nicht.

Das sind Links, die ich mir angesehen habe:


Das weiß ich nicht, was die da meinen und ob das geht. habe nie was von einen Absoluten Layout gehört und damit gearbeitet.

Im AbsolutenLayout habe ich die Funktion: android:eek:verScrollMode="always"

Wie setze ich da entsprechen um, mit dem Hovern(durch drücken vom RB)? Ich will keine 200dp Leere Lücke haben.

Ich danke euch für eure weise Erfahrung 😉
 
Zuletzt bearbeitet:

wer112

Top Contributor
Was ist denn jetz die Frage?
Wie kann ich so ein Verkürztes Layout machen und dass es sich dann ausfährt(So wie die Hover funktion bzw. so wie den gannzen html und CSS Drop Drown Menü..), wenn man ein Button drückt, da ich keine 300dp Visibilty: View.Invisible haben möchte.

Spinner wäre für di ganzen EditText und Foto Uploads nicht möglich...
 

KonradN

Super-Moderator
Mitarbeiter
Also das AbsoluteLayout würde mir hier nicht direkt in den Sinn kommen...

Was mir hier in den Sinn kommt;

a) Fragmente
Du setzt doch schon auf Fragmente. Du kannst Fragmente nutzen, um dann in einer Activity je nach Bedarf Fragmente hinzuzufügen oder zu entfernen.

b) LayoutInflater | Android Developers
Understanding Android's LayoutInflater.inflate() - Big Nerd Ranch
android - What is LayoutInflater and how do I use it properly? - Stack Overflow
Introduction to Android Studio LayoutInflater - Programmer Sought
(Die Links sind einfach ein Ergebnis einer Suche - die Inhalte habe ich nicht im Detail geprüft / bewertet)
 
Ähnliche Java Themen
  Titel Forum Antworten Datum
W Android Wieso kann ich keine ListView mehr zum Layout hinzufügen? Android & Cross-Platform Mobile Apps 1
A Android-Studio: 2. Layout nach kurzer Zeit aufzeigen Android & Cross-Platform Mobile Apps 2
S Android Layout - welchen Typ? Android & Cross-Platform Mobile Apps 3
B Android Multiple Screens- layout-sw600dp Android & Cross-Platform Mobile Apps 1
D Android Layout für alle Geräte Android & Cross-Platform Mobile Apps 4
W Android Designfrage / Layout / Activity / Fragments Android & Cross-Platform Mobile Apps 2
B Layout Bibliothek Android & Cross-Platform Mobile Apps 8
B Android Spiele-Layout umsetzen Android & Cross-Platform Mobile Apps 5
O zurück Schaltfläche in voriges Layout Android & Cross-Platform Mobile Apps 5
B Erste Android-App: setContentView(R.layout.main) funktioniert nicht Android & Cross-Platform Mobile Apps 6
D Android Viele Buttons und ein Layout Android & Cross-Platform Mobile Apps 6
M Android Game, welche Layout? Android & Cross-Platform Mobile Apps 2
B Eigene View xml-Layout einbinden Android & Cross-Platform Mobile Apps 1
R Android Layout Bild mit Text Android & Cross-Platform Mobile Apps 13
K Rand bei (Table,Relative,Linear)Layout - wie bekomme ich ihn weg? Android & Cross-Platform Mobile Apps 3
D Android Layout Problem Android & Cross-Platform Mobile Apps 2
P Android Nach Animation Layout auf alten Platz Android & Cross-Platform Mobile Apps 3
T Android Layout Update Animation Android & Cross-Platform Mobile Apps 3
P Probleme mit xml-Layout Android & Cross-Platform Mobile Apps 2
W XML Layout: wann wird geladen? Android & Cross-Platform Mobile Apps 10
F Layout mit listViews (Scrolling-Probleme) Android & Cross-Platform Mobile Apps 2
G Fehlermeldung: "No XML content. Please add a root view or layout to your documet." Android & Cross-Platform Mobile Apps 7
N Android xml - graphical layout nur noch weiß :o Android & Cross-Platform Mobile Apps 4
T Android Merkwürdigkeiten im Layout Android & Cross-Platform Mobile Apps 7
JAVAnnik Android Layout ändern in Thread Android & Cross-Platform Mobile Apps 2
A Android Browser öffnen, XML-GUI-Layout Android & Cross-Platform Mobile Apps 23
A Absolute Layout soll auf jedem Gerät gleich aussehen Android & Cross-Platform Mobile Apps 4
S Android Layout Problem mit fill_parent Android & Cross-Platform Mobile Apps 5
tfa Android Layout-Probleme: View programmatisch erweitern (addContentView) Android & Cross-Platform Mobile Apps 7

Ähnliche Java Themen

Neue Themen


Oben