Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Move layout from bottom to top (Android APK)(xml)

Status
Not open for further replies.

xyninaxy

Technical User
Jan 19, 2021
1
DE
I have a question, it's an Android APK, and although I have a setting in my app that is shown below, I would not like to move it up. It is already in the middle, it just has to go from the bottom up I hope you understand what I mean. I apologize in advance for my knowledge of English. My English is not that good.

The source/xml code:

android:layout_gravity="0x00000050"
android:paddingLeft="12dp"
android:paddingRight="12dp"
android:focusable="false"
android:clickable="false"
android:layout_width="-1"
android:layout_height="-2"
android:animateLayoutChanges="true">
<LinearLayout
android:eek:rientation="0"
android:id="@7F0A02B1"
android:paddingTop="1dp"
android:paddingBottom="1dp"
android:layout_width="-2"
android:layout_height="-2"
android:animateLayoutChanges="true"
app:layout_constraintBottom_toBottomOf="0"
app:layout_constraintEnd_toEndOf="0"
app:layout_constraintStart_toStartOf="0"
app:layout_constraintTop_toTopOf="0">
<include
android:gravity="0x00000013"
android:layout_gravity="0x00000013"
android:id="@7F0A01FD"
android:layout_width="-2"
android:layout_height="-2"
android:layout_marginRight="@7F0701CB"
app:layout_constraintBottom_toBottomOf="0"
app:layout_constraintRight_toLeftOf="@7F0A00B4"
app:layout_constraintTop_toTopOf="0"
layout="@7F0D00B1" />
<TextView
android:textSize="@7F0701D0"
android:gravity="0x00000011"
android:id="@7F0A00B4"
android:layout_width="-2"
android:layout_height="-2"
android:text="00:00"
android:textAlignment="4"
app:layout_constraintBottom_toBottomOf="0"
app:layout_constraintLeft_toLeftOf="0"
app:layout_constraintRight_toRightOf="0"
app:layout_constraintTop_toTopOf="0" />
<include
android:gravity="0x00000015"
android:layout_gravity="0x00000013"
android:id="@7F0A02BD"
android:layout_width="-2"
android:layout_height="-2"
android:layout_marginLeft="@7F0701CB"
app:layout_constraintBottom_toBottomOf="0"
app:layout_constraintLeft_toRightOf="@7F0A00B4"
app:layout_constraintTop_toTopOf="0"
layout="@7F0D00F6" />
</LinearLayout>


I hope I'm right here and someone can help me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top