File: auxiliary_search_module_layout.xml

package info (click to toggle)
chromium 139.0.7258.127-1~deb13u1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 6,122,096 kB
  • sloc: cpp: 35,100,771; ansic: 7,163,530; javascript: 4,103,002; python: 1,436,920; asm: 946,517; xml: 746,709; pascal: 187,653; perl: 88,691; sh: 88,436; objc: 79,953; sql: 51,488; cs: 44,583; fortran: 24,137; makefile: 22,147; tcl: 15,277; php: 13,980; yacc: 8,984; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (99 lines) | stat: -rw-r--r-- 4,522 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2024 The Chromium Authors
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<org.chromium.chrome.browser.auxiliary_search.module.AuxiliarySearchModuleView
    xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/educational_tip_module_layout"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginTop="@dimen/single_tab_module_padding_top"
    android:layout_marginStart="@dimen/single_tab_module_lateral_margin"
    android:layout_marginEnd="@dimen/single_tab_module_lateral_margin"
    android:paddingStart="@dimen/auxiliary_search_module_padding_start"
    android:paddingEnd="@dimen/auxiliary_search_module_padding_start"
    android:paddingTop="@dimen/single_tab_module_padding_top"
    android:paddingBottom="@dimen/single_tab_module_padding_top"
    android:background="@drawable/home_surface_ui_background"
    android:foreground="@drawable/single_tab_card_ripple"
    android:orientation="vertical">

    <LinearLayout
        android:id="@+id/auxiliary_search_module_info"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

      <org.chromium.ui.widget.TextViewWithLeading
          android:id="@+id/auxiliary_search_module_title"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:paddingBottom="@dimen/auxiliary_search_module_title_padding_bottom"
          android:singleLine="true"
          android:text="@string/auxiliary_search_module_name"
          android:gravity="start"
          android:layout_marginBottom="@dimen/auxiliary_search_module_title_margin_bottom"
          android:textAppearance="@style/TextAppearance.TextAccentMediumThick.Secondary" />

      <org.chromium.ui.widget.TextViewWithLeading
          android:id="@+id/auxiliary_search_module_content"
          android:layout_width="match_parent"
          android:maxLines="4"
          android:text="@string/auxiliary_search_module_content"
          android:layout_height="wrap_content"
          android:layout_gravity="top"
          android:layout_marginBottom="@dimen/auxiliary_search_module_content_margin_bottom"
          android:textAppearance="@style/TextAppearance.TextSmall.Secondary" />
    </LinearLayout>

    <Space
        android:id="@+id/auxiliary_search_middle_space"
        android:layout_width="0dp"
        android:layout_weight="1"
        android:layout_height="match_parent" />

    <LinearLayout
        android:id="@+id/button_container"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_gravity="bottom">

      <Space
          android:id="@+id/auxiliary_search_space"
          android:layout_width="0dp"
          android:layout_weight="1"
          android:layout_height="match_parent" />

      <org.chromium.ui.widget.ButtonCompat
          android:id="@+id/auxiliary_search_first_button"
          style="@style/TextButton"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:paddingStart="@dimen/auxiliary_search_module_button_start_padding"
          android:paddingEnd="@dimen/auxiliary_search_module_button_start_padding"
          android:gravity="center_vertical|center_horizontal"
          android:layout_gravity="bottom|end"
          android:singleLine="true"
          android:text="@string/auxiliary_search_module_button_go_to_settings" />

      <org.chromium.ui.widget.ButtonCompat
          android:id="@+id/auxiliary_search_second_button"
          style="@style/FilledButton"
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:paddingStart="@dimen/auxiliary_search_module_button_start_padding"
          android:paddingEnd="@dimen/auxiliary_search_module_button_start_padding"
          android:singleLine="true"
          android:layout_marginStart="@dimen/auxiliary_search_module_button_padding_middle"
          android:layout_gravity="bottom|end"
          android:text="@string/auxiliary_search_module_button_got_it" />

  </LinearLayout>

</org.chromium.chrome.browser.auxiliary_search.module.AuxiliarySearchModuleView>