Android программирование (видеоуроки). Урок 18. Меняем layoutParams в рабочем приложении
В этом уроке мы:
- изменяем layout-параметры для уже существующих компонентов экрана
Мы умеем создавать экранные компоненты и настраивать для них расположение с помощью LayoutParams. В этом уроке разберемся, как изменять layout-параметры уже существующих компонентов.
Менять мы будем вес -- weight. Нарисуем SeekBar (регулятор или «ползунок») и две кнопки. И будем регулировать пространство занимаемое кнопками, используя параметр веса.
Для англоязычных пользователей есть английские титры.
Текстовая версия урока: http://startandroid.ru/ru/uroki/vse-uroki-spiskom/51-urok-18-menjaem-layoutparams-v-rabochem-prilozhenii.html
Обсуждение урока на форуме: http://forum.startandroid.ru/viewtopic.php?t=105
Android Programming (video tutorial). Lesson 18. Change layoutParams production application
In this tutorial we will:
- Change the layout-parameters for the existing display components
We can create and customize the display components for their location using LayoutParams. In this tutorial will look at how to change the layout-parameters of existing components.
We will change the weight - weight. Draw a SeekBar (controller or "slider") and two buttons. And we will adjust the space occupied by the buttons by using the weight.
For English-speaking users have English subtitles.
Text version of the lesson: http://startandroid.ru/ru/uroki/vse-uroki-spiskom/51-urok-18-menjaem-layoutparams-v-rabochem-prilozhenii.html