today i'm working on layout and i have a question , basic i think.
I have a linear layout and an imageview on it. I want to display the image and the left or on the right of the layout
I tried , layout_gravity It's important to precise that i want to do it on a linear and not on a relative or other stuff.
Thanks by advance , a screen to precise my question
my linear with the image
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="horizontal" >
<ImageView
android:id="@+id/Reboot"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="0.3"
android:layout_gravity="left"
android:src="@drawable/arreter" />
</LinearLayout>