У меня проблема с одним видом деятельности xml в моем проекте Android. Его ScrollView и внутри у меня есть LinearLayout. В LinearLayout я добавил кнопку. Но кнопка не полностью видна. Только 2px или что-то подобное.ScrollView: кнопка полностью не видна
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/image_view_one"
android:scaleType="fitCenter"
android:adjustViewBounds="true"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Titel"
android:textSize="20dp"
android:layout_gravity="center_horizontal"
android:layout_margin="10dp"
android:textColor="#000000"
android:id="@+id/textview_titel"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Content"
android:textSize="15dp"
android:layout_margin="10dp"
android:textColor="#000000"
android:id="@+id/textview_description"
/>
<android.support.v7.widget.AppCompatButton
android:id="@+id/btn_zum_gewinnspiel"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:padding="12dp"
android:text="ZUM GEWINNSPIEL"
android:background="?attr/colorPrimary"
android:textSize="18dp"
/>
</LinearLayout>
</ScrollView>
2px vertical? тест с нижним дном в LinearLayout. Я не понимаю, где ваш ListView. – fechidal89
Извините. Я редактирую его, его Линейный макет – harisbosanac
ну, я думаю, что с маринботтом в LinearLayout он будет работать. – fechidal89