Skip to content

Commit

Permalink
GitBook: [master] 3 pages modified
Browse files Browse the repository at this point in the history
  • Loading branch information
yemreak authored and gitbook-bot committed Nov 10, 2019
1 parent f50cdf9 commit e162a5a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 41 deletions.
8 changes: 4 additions & 4 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
* [🐛 Hata Notları](faydali-bilgiler/hata-notlari.md)
* [🔗 Karışık Bağlantılar](faydali-bilgiler/karisik-baglantilar.md)
* [🥴 Düzensiz Notlar](duezensiz-notlar/README.md)
* [📜 XML Örneği](duezensiz-notlar/xml-oernegi.md)
* [⏬ Scrolling views](duezensiz-notlar/scrolling-views.md)
* [🔤 TextView](duezensiz-notlar/textview.md)
* [👶 İlk Etkileşimli UI](duezensiz-notlar/ilk-etkilesimli-ui.md)
* [🔰 Giriş](duezensiz-notlar/giris.md)
* [👶 İlk Etkileşimli UI](duezensiz-notlar/ilk-etkilesimli-ui.md)
* [🔤 TextView](duezensiz-notlar/textview.md)
* [⏬ Scrolling views](duezensiz-notlar/scrolling-views.md)
* [📜 XML Örneği](duezensiz-notlar/xml-oernegi.md)

## Eski Notlarım <a id="programlama-notlari"></a>

4 changes: 2 additions & 2 deletions duezensiz-notlar/scrolling-views.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# ⏬ Scrolling views

## ScrollView with a TextView <a id="scrollview-with-a-textview"></a>
## 🔤 ScrollView with a TextView <a id="scrollview-with-a-textview"></a>

To display a scrollable magazine article on the screen, you might use a [`RelativeLayout`](https://developer.android.com/reference/android/widget/RelativeLayout.html) that includes a separate `TextView` for the article heading, another for the article subheading, and a third `TextView` for the scrolling article text \(see the figure below\), set within a `ScrollView`. The only part of the screen that would scroll would be the `ScrollView` with the article text.

![ The layout with a ScrollView](https://google-developer-training.github.io/android-developer-fundamentals-course-concepts-v2/images/1-3-c-text-and-scrolling-views/dg_layout_diagram1.png)

## ScrollView with a LinearLayout <a id="scrollview-with-a-linearlayout"></a>
## 🎿 ScrollView with a LinearLayout <a id="scrollview-with-a-linearlayout"></a>

A `ScrollView` can contain only one child `View`; however, that `View` can be a [`ViewGroup`](https://developer.android.com/reference/android/view/ViewGroup.html) that contains several `View` elements, such as [`LinearLayout`](https://developer.android.com/reference/android/widget/LinearLayout.html). You can _nest_ a `ViewGroup` such as `LinearLayout` _within_ the `ScrollView`, thereby scrolling everything that is inside the `LinearLayout`.

Expand Down
35 changes: 0 additions & 35 deletions duezensiz-notlar/xml-oernegi.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,38 +54,3 @@
</LinearLayout>
```

## 🎿 ScrollView

```markup
<ScrollView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/article_heading">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<TextView
android:id="@+id/article_subheading"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/padding_regular"
android:text="@string/article_subtitle"
android:textAppearance=
"@android:style/TextAppearance.DeviceDefault" />
<TextView
android:id="@+id/article"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:autoLink="web"
android:lineSpacingExtra="@dimen/line_spacing"
android:padding="@dimen/padding_regular"
android:text="@string/article_text" />
</LinearLayout>
</ScrollView>
```

0 comments on commit e162a5a

Please sign in to comment.