0
Я изменил высоту & ширину тега Gallery в моем коде, но ничего не произошло. Пожалуйста, направляйте меня на правильный путь.Как увеличить размер изображений означает его высоту и ширину изображений в галерее андроид
Вот скриншот моей галерее изображений
А вот мой XML код
<LinearLayout
android:id="@+id/ll_brand_color_slider_view"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_centerVertical="true"
android:weightSum="1"
android:layout_below="@+id/ll_product_view"
android:orientation="horizontal"
android:layout_margin="10dp"
android:layout_centerHorizontal="true">
<ImageButton
android:id="@+id/btnColorPrvious"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/left_e"
android:clickable="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="10dp"
android:layout_gravity="center"
android:scaleType="centerCrop" />
<Gallery
android:id="@+id/brand_color"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="left"
android:background="@drawable/slide_bg"
android:layout_gravity="left|center"
android:spacing="15dip" />
<ImageButton
android:id="@+id/btnColorNextPager"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/right_e"
android:clickable="true"
android:layout_marginLeft="5dp"
android:layout_marginRight="10dp"
android:layout_gravity="center"
android:scaleType="centerCrop" />
</LinearLayout>
благодарю за ваш ответ .. но его не работает. изменен внешний вид, но он не влияет на высоту изображения ... –