Saturday, May 25, 2019

Guide add screencast in N or O panel



Add screencast in N or O panel



Tested On A75A* sc7731

ok, let's start

1. Decompile your Systemui.apk

2. Merge all filles

3. Add this line in your N or O panel.xml


< FrameLayout android:layout_gravity="center" android:layout_width="45.0dip" android:layout_height="45.0dip" android:layout_margin="5.0dip">
	< com.android.systemui.qs.header.ScreenCastToggle android:layout_gravity="center" android:id="@+id/header_qs_screencast" android:background="@drawable/ripple_drawable" android:layout_width="@dimen/expanded_qs_tile_icon_size" android:layout_height="@dimen/expanded_qs_tile_icon_size" />
	< ImageView android:layout_gravity="center" android:background="@drawable/ripple_drawable" android:layout_width="@dimen/expanded_qs_tile_icon_size" android:layout_height="@dimen/expanded_qs_tile_icon_size" android:src="@drawable/ic_qs_screencast" />
< /FrameLayout>

4. Open dimens.xml and add this line above </resource>
    

< dimen name="expanded_qs_tile_icon_size">24.5dip< /dimen>

5. Recompile, sign


*Material

Guide add screencast in N or O panel


Thanks To

MAIR
MAAAD
com.cyngn.screencast
Nty Eza
Wubydax
Rentjong OS
SKYMOD
Y0U :*
Me (Aryo Wysata)

Sun, 09-Sep-2018 Jatirejo, Nagan Raya, Aceh.