Merge pull request #19453 from brave/android_text_view_id_conflict_fix
[C116] [Android] Fix for the `text_view` id conflict
This commit is contained in:
@@ -62,7 +62,7 @@ public class BraveRewardsOnboardingPagerAdapter extends PagerAdapter {
|
||||
view = LayoutInflater.from(ContextUtils.getApplicationContext()).inflate(R.layout.brave_rewards_onboarding_item_layout, null);
|
||||
TextView titleView = view.findViewById(R.id.title_view);
|
||||
titleView.setText(getTitles(context).get(position));
|
||||
TextView textView = view.findViewById(R.id.text_view);
|
||||
TextView textView = view.findViewById(R.id.onboarding_text_view);
|
||||
textView.setText(getTexts(context).get(position));
|
||||
AppCompatImageView imageView = view.findViewById(R.id.image_view);
|
||||
imageView.setImageResource(getImages().get(position));
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
android:textColor="@color/rewards_panel_text_color"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/text_view"
|
||||
android:id="@+id/onboarding_text_view"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
|
||||
Reference in New Issue
Block a user