• 17-10-2024, 19:58:44
    #1
    Merhaba. Android Studio da Java dilinde uygulama yapmaya başladım. Açılış ekranım var ve 3 tane de webview classim var ana ekrana imagebutton'lari koydum ama bunlara sayfa yönlendirmesini nasıl yapacağım bilmiyorum onu bulamadım. Ekte görsel atıyorum class isimleri habersite, tvwebview, fmwebview nasıl bir kod ile buraya git diyecegim

  • 17-10-2024, 20:09:16
    #2
    Kimlik doğrulama veya yönetimden onay bekliyor.
    <Window x:Class="WpfApp.MainWindow"
            xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Title="MainWindow" Height="200" Width="400">
        <Window.Resources>
            <!-- Style for ImageButton -->
            <Style x:Key="ImageButtonStyle" TargetType="Button">
                <Setter Property="Background" Value="Transparent"/>
                <Setter Property="BorderBrush" Value="Transparent"/>
                <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="Button">
                            <Grid>
                                <Image Source="your-image-path.png" Width="100" Height="100"/>
                            </Grid>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>
            </Style>
        </Window.Resources>
        
        <Grid>
            <!-- Applying the style to the button -->
            <Button Style="{StaticResource ImageButtonStyle}" Width="100" Height="100"/>
        </Grid>
    </Window>
  • 17-10-2024, 20:10:25
    #3
    https://chatgpt.com/share/671144ef-8...8-993a0c595e17

    belki yardımcı olur
  • 18-10-2024, 23:49:23
    #4
    GuarDofErun adlı üyeden alıntı: mesajı görüntüle
    Evet, çok yardımcı oldu. Teşekkür ediyorum.